package com.wshl.aijiuunion.view.bean;

import java.util.List;

/**
 * Created buy 风凊扬 on 2019/11/5 0005
 */
public class ShopDataBean {


    /**
     * code : 200
     * msg : got info
     * data : {"bg":[{"title":"banner","cover":"images/ea5f8161e39021cd62ceca767b440ec9.png","linkurl":"http://www.baidu.com"}],"category":[{"id":3,"cat_name":"艾灸仪","cover":"images/98e1cee172c0c2be327a0bbd37dfb000.png"},{"id":4,"cat_name":"艾灸条","cover":"images/a9d41f45f75e2c332d344fb4a4768b09.png"},{"id":5,"cat_name":"艾灸盒","cover":"images/9a5d70a3aaa0dc3588b45dcac87aab84.png"},{"id":6,"cat_name":"艾灸贴","cover":"images/53ef00611c2615caebbde6d40219cadb.png"}],"product":[{"id":3,"title":"艾灸贴正品艾条艾柱盒艾草肚脐去随身灸湿气","cover":"images/63c55abaaeb7180e7ab1912fa8989666.jpg","old_price":"39.00","price":"20.00","sku":0,"sales":839},{"id":2,"title":"艾灸电动理疗仪","cover":"images/f3e67c1cc01f150da5df6ee73f20c679.png","old_price":"12.00","price":"10.00","sku":0,"sales":340}]}
     * more : []
     */

    private int code;
    private String msg;
    private DataBean data;
    private List<?> more;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public List<?> getMore() {
        return more;
    }

    public void setMore(List<?> more) {
        this.more = more;
    }

    public static class DataBean {
        private List<BgBean> bg;
        private List<CategoryBean> category;
        private List<ProductBean> product;

        public List<BgBean> getBg() {
            return bg;
        }

        public void setBg(List<BgBean> bg) {
            this.bg = bg;
        }

        public List<CategoryBean> getCategory() {
            return category;
        }

        public void setCategory(List<CategoryBean> category) {
            this.category = category;
        }

        public List<ProductBean> getProduct() {
            return product;
        }

        public void setProduct(List<ProductBean> product) {
            this.product = product;
        }

        public static class BgBean {
            /**
             * title : banner
             * cover : images/ea5f8161e39021cd62ceca767b440ec9.png
             * linkurl : http://www.baidu.com
             */

            private String title;
            private String cover;
            private String linkurl;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getLinkurl() {
                return linkurl;
            }

            public void setLinkurl(String linkurl) {
                this.linkurl = linkurl;
            }
        }

        public static class CategoryBean {
            /**
             * id : 3
             * cat_name : 艾灸仪
             * cover : images/98e1cee172c0c2be327a0bbd37dfb000.png
             */

            private int id;
            private String cat_name;
            private String cover;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCat_name() {
                return cat_name;
            }

            public void setCat_name(String cat_name) {
                this.cat_name = cat_name;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }
        }

        public static class ProductBean {
            /**
             * id : 3
             * title : 艾灸贴正品艾条艾柱盒艾草肚脐去随身灸湿气
             * cover : images/63c55abaaeb7180e7ab1912fa8989666.jpg
             * old_price : 39.00
             * price : 20.00
             * sku : 0
             * sales : 839
             */

            private int id;
            private String title;
            private String cover;
            private String old_price;
            private String price;
            private int sku;
            private int sales;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getOld_price() {
                return old_price;
            }

            public void setOld_price(String old_price) {
                this.old_price = old_price;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getSku() {
                return sku;
            }

            public void setSku(int sku) {
                this.sku = sku;
            }

            public int getSales() {
                return sales;
            }

            public void setSales(int sales) {
                this.sales = sales;
            }
        }
    }
}
